package org.example.mbg.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.example.mbg.model.TNoticeReceiveRecord;
import org.example.mbg.model.TNoticeReceiveRecordExample;

public interface TNoticeReceiveRecordMapper {
    long countByExample(TNoticeReceiveRecordExample example);

    int deleteByExample(TNoticeReceiveRecordExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TNoticeReceiveRecord record);

    int insertSelective(TNoticeReceiveRecord record);

    List<TNoticeReceiveRecord> selectByExample(TNoticeReceiveRecordExample example);

    TNoticeReceiveRecord selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TNoticeReceiveRecord record, @Param("example") TNoticeReceiveRecordExample example);

    int updateByExample(@Param("record") TNoticeReceiveRecord record, @Param("example") TNoticeReceiveRecordExample example);

    int updateByPrimaryKeySelective(TNoticeReceiveRecord record);

    int updateByPrimaryKey(TNoticeReceiveRecord record);
}